Platform Explorer / Nuxeo Platform 2021.7

Component org.nuxeo.ecm.platform.audit.PageProviderservice.automation.contrib

Resolution Order

58
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.platform.audit.PageProviderservice.automation.contrib">


  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

    <genericPageProvider name="AUDIT_BROWSER"
      class="org.nuxeo.ecm.platform.audit.api.AuditPageProvider">
      <whereClause docType="BasicAuditSearch">
        <predicate parameter="log.id" operator="&gt;">
          <field schema="basicauditsearch" name="logId" />
        </predicate>
        <predicate parameter="log.eventDate" operator="BETWEEN">
          <field schema="basicauditsearch" name="startDate" />
          <field schema="basicauditsearch" name="endDate" />
        </predicate>
        <predicate parameter="log.category" operator="IN">
          <field schema="basicauditsearch" name="eventCategories" />
        </predicate>
        <predicate parameter="log.eventId" operator="IN">
          <field schema="basicauditsearch" name="eventIds" />
        </predicate>
        <predicate parameter="log.principalName" operator="IN">
          <field schema="basicauditsearch" name="principalNames" />
        </predicate>
      </whereClause>
      <sort column="log.eventDate" ascending="true" />
      <sort column="log.id" ascending="true" />
      <pageSize>10</pageSize>
    </genericPageProvider>

  </extension>

</component>